027fe8ccd49906e888f141349a7ab1eef837335f,platform/webr/languages/xml/source_gen/webr/xml/editor/Element_Editor.java,Element_Editor,createElementDeclarationReferenceCell4,#EditorContext#SNode#,572
Before Change
return editorCell;
}
public EditorCell createElementDeclarationReferenceCell4(EditorContext context, SNode node) {
CellProviderWithRole provider = new RefCellCellProvider(node, context);
provider.setRole("elementDeclaration");
provider.setNoTargetText("");
provider.setReadOnly(false);
provider.setAllowsEmptyTarget(false);
EditorCell cellWithRole = this.createElementDeclarationReferenceCell4internal(context, node, provider);
SNode attributeConcept = provider.getRoleAttribute();
Class attributeKind = provider.getRoleAttributeClass();
if(attributeConcept != null) {
IOperationContext opContext = context.getOperationContext();
EditorManager manager = EditorManager.getInstanceFromContext(opContext);
return manager.createRoleAttributeCell(context, attributeConcept, attributeKind, cellWithRole);
} else
return cellWithRole;
}
}
After Change
editorCell.setLayoutConstraint("");
return editorCell;
}
public EditorCell createElement_elementDeclarationCell4(EditorContext context, SNode node) {
if(this.myElement_elementDeclaration4 == null) {
this.myElement_elementDeclaration4 = new Element_elementDeclaration(node);
}
EditorCell componentCell = this.myElement_elementDeclaration4.createEditorCell(context);
EditorCell_Collection editorCell = EditorCell_Collection.createHorizontal(context, node);
editorCell.addEditorCell(componentCell);
editorCell.setSelectable(true);
editorCell.setDrawBorder(false);
editorCell.setDrawBrackets(false);
editorCell.setBracketsColor(Color.black);
editorCell.putUserObject(EditorCell.CELL_ID, node.getId() + "_1179101313080");
editorCell.setLayoutConstraint("");
return editorCell;
}
public EditorCell createElement_attributeListCell2(EditorContext context, SNode node) {
if(this.myElement_attributeList2 == null) {